package com.kaili.basic.pojo.vo;


import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("分页查询告警项")
public class MdmAlarmQueryAllVo {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("告警名称")
    @Excel(name = "告警项", orderNum = "1")
    private String alarmName;

    @ApiModelProperty("告警值：只有版本、电量、内存、cpu、离线才有告警值")
    //@Excel(name = "告警内容", orderNum = "2")
    private String alarmValue;

    @ApiModelProperty("告警内容")
    @Excel(name = "告警内容", orderNum = "2")
    private String alarmContent;

    @ApiModelProperty("区id")
    private Long countyId;

    @ApiModelProperty("详细地址")
    private String detailedAddress;

    @ApiModelProperty("推送组数量")
    @Excel(name = "推送组数量", orderNum = "3")
    private Long pushCount;

    @ApiModelProperty("设备数量")
    @Excel(name = "设备数量", orderNum = "4")
    private Long deviceCount;

    @ApiModelProperty("经度")
    private Double longitude;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("围栏半径")
    private Double radius;

    @ApiModelProperty("告警规则是否开启：0关闭，1开启")
    private Integer isOn;

    @ApiModelProperty("0未推送，1推送")
    @Excel(name = "推送状态", orderNum = "5",replace ={"未推送_0","已推送_1"} )
    private Integer isPush;

    @ApiModelProperty("平台（数据字典）")
    private Integer platformId;

    @ApiModelProperty("类型（数据字典）")
    private Integer typeId;

    @ApiModelProperty("数据状态：0删除，1正常")
    private Integer rdStatus;

}
